package semiproject.models;

public class PaperVO {
	private String email;
	private String lname;
	private String fname;
	private int pno;
	private String title;
	private String chorok;
	private String attach;
	private String writer;
	private String panel;
	private int score1;
	private int score2;
	private int score3;
	private int score4;
	private String comment;
	private String pcomment;
	private String regdate;
	
	public void paperVO(String email, String lname, String fname, String title, String chorok, String attach, String writer) {
		this.email = email;
		this.lname = lname;
		this.fname = fname;
		this.title = title;
		this.chorok = chorok;
		this.attach = attach;
		this.writer = writer;
	}

	public String getEmail() { return email; }
	public void setEmail(String email) { this.email = email; }

	public String getLname() { return lname; }
	public void setLname(String lname) { this.lname = lname; }

	public String getFname() { return fname; }
	public void setFname(String fname) { this.fname = fname; }

	public int getPno() { return pno; }
	public void setPno(int pno) { this.pno = pno; }

	public String getTitle() { return title; }
	public void setTitle(String title) { this.title = title; }

	public String getChorok() { return chorok; }
	public void setChorok(String chorok) { this.chorok = chorok; }

	public String getAttach() { return attach; }
	public void setAttach(String attach) { this.attach = attach; }

	public String getWriter() { return writer; } 
	public void setWriter(String writer) { this.writer = writer; }

	public String getPanel() { return panel; }
	public void setPanel(String panel) { this.panel = panel; }

	public int getScore1() { return score1; }
	public void setScore1(int score1) { this.score1 = score1; }

	public int getScore2() { return score2; }
	public void setScore2(int score2) { this.score2 = score2; }

	public int getScore3() { return score3; }
	public void setScore3(int score3) { this.score3 = score3; }

	public int getScore4() { return score4; }
	public void setScore4(int score4) { this.score4 = score4; }

	public String getComment() { return comment; }
	public void setComment(String comment) { this.comment = comment; }

	public String getPcomment() { return pcomment; }
	public void setPcomment(String pcomment) { this.pcomment = pcomment; }

	public String getRegdate() { return regdate; }
	public void setRegdate(String regdate) { this.regdate = regdate; }
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(email).append("/").append(lname).append("/").append(fname).append("/").append(title).append("/").append(chorok).append("/").append(attach)
		.append("/").append(writer).append("/").append(panel).append("/").append(score1).append("/").append(score2).append("/").append(score3).append("/")
		.append(score4).append("/").append(comment).append("/").append(pcomment).append("/").append(regdate);
		return sb.toString();
	}
	
}
